﻿function transport()
{
    var p = new page();
    p.c = "Way.Bus.WMS.ST.Controllers.YS.ST_PackListController";
    p.title = "运输";
    p.mainColumns = ["ROWINDEX", 'CODE', 'TOWHNO', 'STATE'];
    p.subColumns = ['THEDRIVER', 'CARNO', 'CREATEDBY', 'CREATIONDATE'];
    p.searchWhere = [{ ColumnName: "CODE", Value: "", Relation: "or", Symbol: "like"}];
    p.defultWhere = [{ ColumnName: "IsSubmited", Value: "1" }, {  ColumnName: "State", Value: "1", Symbol: ">" }, { ColumnName: "TheDriver", Value: webjs.userid }];
    p.cztit = "卸货作业";
    p.editindex = 0;
    p.childWhere = [{ ColumnName: "STATE", Value: "3" }];
    p.init();
}